CallGraph
CallGraph Class Reference

Class define structure for plugin interface. More...

#include <callgraph.h>

Collaboration diagram for CallGraph:

List of all members.

Public Member Functions

 CallGraph (IManager *manager)
 Defautl constructor.
 ~CallGraph ()
 Defautl destructor.
virtual clToolBar * CreateToolBar (wxWindow *parent)
 Function create tool bar menu and sets icon of plugin Call graph.
virtual void CreatePluginMenu (wxMenu *pluginsMenu)
 Function create plugin menu for Call graph used in menu Plugins of Codelite.
virtual void HookPopupMenu (wxMenu *menu, MenuType type)
 Create plugin's custom popup menu for different places.
virtual void UnPlug ()
 Function unplug the plugin from CodeLite IDE.

Protected Member Functions

void OnAbout (wxCommandEvent &event)
 Function create and open About dialog Call graph plugin.
void OnShowCallGraph (wxCommandEvent &event)
 Function create new tab page and insert picture with call graph and table with function of the project.
void OnSettings (wxCommandEvent &event)
 Handle function to open dialog with settings for Call graph plugin.
wxString GetGprofPath ()
 Return string with value path for external application gprof which is stored in configuration data.
wxString GetDotPath ()
 Return string with value path for external application dot which is stored in configuration data.
wxMenu * CreateProjectPopMenu ()
 Create custom plugin's popup menu.

Protected Attributes

wxScrolledWindow * cgWnd
 Pointer cgWnd type wxScrolledWindow used in tab page for display call graph picture.
wxInputStream * m_pInputStream
 Pointer m_pInputStream type wxInputStream returned from gprof application.
ConfCallGraph confData
 Object confData type ConfCallGraph with stored configuration data.

Detailed Description

Class define structure for plugin interface.

Definition at line 30 of file callgraph.h.


Constructor & Destructor Documentation

CallGraph::CallGraph ( IManager *  manager)

Defautl constructor.

Parameters:
manager

Definition at line 62 of file callgraph.cpp.

Here is the call graph for this function:

Defautl destructor.

Definition at line 79 of file callgraph.cpp.

Here is the call graph for this function:


Member Function Documentation

void CallGraph::CreatePluginMenu ( wxMenu *  pluginsMenu) [virtual]

Function create plugin menu for Call graph used in menu Plugins of Codelite.

Parameters:
pluginsMenu

Definition at line 114 of file callgraph.cpp.

wxMenu * CallGraph::CreateProjectPopMenu ( ) [protected]

Create custom plugin's popup menu.

Returns:
Plugin's popup menu

Definition at line 132 of file callgraph.cpp.

clToolBar * CallGraph::CreateToolBar ( wxWindow *  parent) [virtual]

Function create tool bar menu and sets icon of plugin Call graph.

Parameters:
parent
Returns:

Definition at line 87 of file callgraph.cpp.

wxString CallGraph::GetDotPath ( ) [protected]

Return string with value path for external application dot which is stored in configuration data.

Returns:
Path to 'dot' tool

Definition at line 245 of file callgraph.cpp.

Here is the call graph for this function:

wxString CallGraph::GetGprofPath ( ) [protected]

Return string with value path for external application gprof which is stored in configuration data.

Returns:
Path to 'gprof' tool

Definition at line 206 of file callgraph.cpp.

Here is the call graph for this function:

void CallGraph::HookPopupMenu ( wxMenu *  menu,
MenuType  type 
) [virtual]

Create plugin's custom popup menu for different places.

Parameters:
menuPointer to parent menu
typeParent menu type

Definition at line 143 of file callgraph.cpp.

Here is the call graph for this function:

void CallGraph::OnAbout ( wxCommandEvent &  event) [protected]

Function create and open About dialog Call graph plugin.

Parameters:
eventReference to event class

Definition at line 187 of file callgraph.cpp.

Here is the call graph for this function:

void CallGraph::OnSettings ( wxCommandEvent &  event) [protected]

Handle function to open dialog with settings for Call graph plugin.

Parameters:
eventReference to event class

Definition at line 400 of file callgraph.cpp.

void CallGraph::OnShowCallGraph ( wxCommandEvent &  event) [protected]

Function create new tab page and insert picture with call graph and table with function of the project.

Parameters:
eventReference to event class

Definition at line 287 of file callgraph.cpp.

Here is the call graph for this function:

void CallGraph::UnPlug ( ) [virtual]

Function unplug the plugin from CodeLite IDE.

Definition at line 182 of file callgraph.cpp.


Member Data Documentation

wxScrolledWindow* CallGraph::cgWnd [protected]

Pointer cgWnd type wxScrolledWindow used in tab page for display call graph picture.

Definition at line 104 of file callgraph.h.

Object confData type ConfCallGraph with stored configuration data.

Definition at line 112 of file callgraph.h.

wxInputStream* CallGraph::m_pInputStream [protected]

Pointer m_pInputStream type wxInputStream returned from gprof application.

Definition at line 108 of file callgraph.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables